

package com.kimo.shop.bean.event;

import com.kimo.shop.bean.model.Product;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 改变商品状态时的事件
 * @author kimo-taozhouchuan
 */
@Data
@AllArgsConstructor
public class ProdChangeStatusEvent {

    /**
     * 商品
     */
    private Product product;

    /**
     * 改变后的状态
     */
    private Integer status;

}
